<?php

namespace libs;

class Fun
{
    public  static  function  getRandomStr($length=6){
        $Str="ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789";
        $endStr="";
        for ($i=0;$i<$length;$i++){
            $endStr.=$Str[mt_rand(0,strlen($Str))-1];
        }
        return $endStr;
    }
}